#!/bin/bash

echo 'mysql starting...'
docker run --name mysql\-egg\-example -v $PWD/data/mysql:/var/lib/mysql -p 3306:3306 -e MYSQL\_ROOT\_PASSWORD=666666 -d mysql:latest
docker run -p 6379:6379 --name redis\-egg\-example -v $PWD/redis/redis.conf:/etc/redis/redis.conf -v $PWD/data:/data -d redis:latest redis-server --appendonly yes
echo 'end.'

